using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using DAL.Models.Mapping;

namespace DAL.Models
{
    public partial class MatriculaContext : DbContext
    {
        static MatriculaContext()
        {
            Database.SetInitializer<MatriculaContext>(null);
        }

        public MatriculaContext()
            : base("Name=MatriculaContext")
        {
        }

        public DbSet<Tb_Usuarios> Tb_Usuarios { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new Tb_UsuariosMap());
        }
    }
}
